home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / DJSRC106.ARJ / DIFF.DIF < prev    next >
Text File  |  1991-03-24  |  1KB  |  75 lines

  1. diff +context=2 orig/getopt.c ./getopt.c
  2. *** orig/getopt.c    Thu Nov 29 16:21:40 1990
  3. --- ./getopt.c    Sun Mar 24 13:17:14 1991
  4. ***************
  5. *** 70,74 ****
  6. --- 70,78 ----
  7.   
  8.   char *getenv ();
  9. + #ifdef GNUDOS
  10. + void *malloc();
  11. + #else
  12.   char *malloc ();
  13. + #endif
  14.   #endif
  15.   
  16. diff +context=2 orig/makefile ./makefile
  17. *** orig/makefile    Sun Jan  6 19:02:56 1991
  18. --- ./makefile    Sun Mar 24 13:22:20 1991
  19. ***************
  20. *** 22,26 ****
  21.   # Also, gcc supports -O and -g together.
  22.   CC=gcc -O
  23. ! CFLAGS = -g
  24.   INSTALL = install
  25.   
  26. --- 22,26 ----
  27.   # Also, gcc supports -O and -g together.
  28.   CC=gcc -O
  29. ! CFLAGS = -O -DGNUDOS
  30.   INSTALL = install
  31.   
  32. ***************
  33. *** 68,72 ****
  34.   
  35.   $(archpfx)diff: $(objs)
  36. !     $(CC) -o $(archpfx)diff $(CFLAGS) $(LDFLAGS) $(objs) $(LIBS)
  37.   
  38.   $(objs): diff.h
  39. --- 68,73 ----
  40.   
  41.   $(archpfx)diff: $(objs)
  42. !     @>diff.rf $(CFLAGS) $(LDFLAGS) $(objs) $(LIBS)
  43. !     $(CC) -o $(archpfx)diff @diff.rf
  44.   
  45.   $(objs): diff.h
  46. diff +context=2 orig/util.c ./util.c
  47. *** orig/util.c    Sun Jan  6 18:14:14 1991
  48. --- ./util.c    Sun Mar 24 13:16:52 1991
  49. ***************
  50. *** 130,133 ****
  51. --- 130,134 ----
  52.     strcat (name, name1);
  53.   
  54. + #ifndef GNUDOS
  55.     if (paginate_flag)
  56.       {
  57. ***************
  58. *** 165,168 ****
  59. --- 166,170 ----
  60.       }
  61.     else
  62. + #endif
  63.       {
  64.   
  65. ***************
  66. *** 189,193 ****
  67. --- 191,197 ----
  68.       {
  69.         fclose (outfile);
  70. + #ifndef GNUDOS
  71.         wait (0);
  72. + #endif
  73.       }
  74.   }
  75.